/**
 * @license
 * Copyright Alibaba.com All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
 */

import { OverlayModule } from '@angular/cdk/overlay';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ApesButtonModule } from '@shared/apes/button';
import { ApesAddOnModule, ApesNoAnimationModule, ApesOverlayModule } from '@shared/apes/core';
import { ApesIconModule } from '@shared/apes/icon';
import { ApesMenuModule } from '@shared/apes/menu';



import { PlatformModule } from '@angular/cdk/platform';
import { ApesContextMenuService } from './apes-context-menu.service';
import { ApesDropdownADirective } from './apes-dropdown-a.directive';
import { ApesDropdownButtonComponent } from './apes-dropdown-button.component';
import { ApesDropdownContextComponent } from './apes-dropdown-context.component';
import { ApesDropdownMenuComponent } from './apes-dropdown-menu.component';
import { ApesDropdownComponent } from './apes-dropdown.component';
import { ApesDropdownDirective } from './apes-dropdown.directive';
import { ApesDropdownService } from './apes-dropdown.service';

@NgModule({
  imports: [
    CommonModule,
    OverlayModule,
    FormsModule,
    ApesButtonModule,
    ApesMenuModule,
    ApesIconModule,
    PlatformModule,
    ApesNoAnimationModule,
    ApesOverlayModule,
    ApesAddOnModule
  ],
  entryComponents: [ApesDropdownContextComponent, ApesDropdownMenuComponent],
  declarations: [
    ApesDropdownComponent,
    ApesDropdownButtonComponent,
    ApesDropdownDirective,
    ApesDropdownADirective,
    ApesDropdownContextComponent,
    ApesDropdownMenuComponent
  ],
  exports: [
    ApesMenuModule,
    ApesDropdownComponent,
    ApesDropdownButtonComponent,
    ApesDropdownDirective,
    ApesDropdownADirective,
    ApesDropdownMenuComponent
  ],
  providers: [ApesDropdownService, ApesContextMenuService]
})
export class ApesDropDownModule {}
